﻿<%@ Page Language="C#" MasterPageFile="../Admin.master" CodeBehind="DesignEdit.aspx.cs" AutoEventWireup="true" Inherits="CrossFactory.SiteNote.Admin.Design.DesignEdit" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td id="Td3" style="padding-top:5px">
                                    <table id="Table1" class="ms-toolbar" cellspacing="0" cellpadding="2" border="0">
                                        <tr id="Tr1">
                                            <td id="Td6">
                                                <table id="Table4" cellspacing="0" cellpadding="2" border="0">
                                                    <tr id="Tr4">
                                                        <td id="Td7" class="ms-toolbar">
                                                            <span id="Span2">New folder : </span>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox id="txtCreateFolder" type="text" runat="server" style="width:100px;"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:Button ID="btnCreateFolder" type="submit" runat="server" Text="Create" style="width:50px;"/>
                                                        </td>
                                                        
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-top:4px">
                                    <div style="margin-right:5px;height:445px;width:240px;overflow:scroll;border:1px solid #84B2EF;background-color:#D6EBFF">
                                       <asp:TreeView ID="DesignTree" ShowLines="true" ExpandDepth="5" Runat="server" OnTreeNodePopulate="PopulateNode" ImageSet="XPFileExplorer" NodeIndent="15">
                                            <ParentNodeStyle Font-Bold="False" />
                                            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
                                            <SelectedNodeStyle BackColor="#FFFFCC" Font-Underline="False" HorizontalPadding="2px" VerticalPadding="0px" />
                                            <NodeStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
                                        </asp:TreeView> 
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <table>
                            <tr>
                                <td align="left">
                                    <table>
			                            <tr>
			                                <td id="Td1">
                                                <table id="_Group_tableCell_global_table" class="ms-toolbar" cellspacing="0" cellpadding="2" border="0">
                                                    <tr id="_Group_tableCell_global_tableRow">
                                                        <td id="_Group_tableCell_global_tableCell">
                                                            <table id="_Group_tableCell_global_title_table" cellspacing="0" cellpadding="2" border="0">
	                                                            <tr id="_Group_tableCell_global_title_tableRow">
		                                                            <td id="_Group_tableCell_global_title_tableCell" class="ms-toolbar">
		                                                                <span id="_Group_tableCell_global_title_tableCell_label">Upload file : </span>
		                                                            </td>
		                                                            <td>
		                                                                <input id="oFile" type="file" runat="server" name="oFile" style="width:200px;" />
		                                                            </td>
		                                                            <td>
		                                                                <asp:Button ID="btnUpload" type="submit" runat="server" Text="Upload" />
		                                                            </td>
		                                                            <td>
		                                                                <asp:Label id="lblUploadResult" Runat="server"></asp:Label>
		                                                            </td>
	                                                            </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td align="right">
                                    <table>
			                            <tr>
			                                <td id="Td2">
                                                <table id="Table2" class="ms-toolbar" cellspacing="0" cellpadding="2" border="0">
                                                    <tr id="Tr2">
                                                        <td id="Td4">
                                                            <table id="Table3" cellspacing="0" cellpadding="2" border="0">
	                                                            <tr id="Tr3">
		                                                            <td id="Td5" class="ms-toolbar">
		                                                                <span id="Span1">Rename design : </span>
		                                                            </td>
		                                                            <td>
		                                                                <asp:TextBox ID="txtRename" runat="server"></asp:TextBox>
		                                                            </td>
		                                                            <td>
		                                                                <asp:Button ID="btnRename" runat="server" Text="Rename" />
		                                                            </td>
	                                                            </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <div id="container" style="height:400px; width:800px; border:1px solid #D6EBFF; position:relative; overflow:auto" runat="server"></div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td><asp:Label ID="lblFolder" runat="server" CssClass="designFileInfo"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="lblFileSize" runat="server" CssClass="designFileInfo"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="lblFileModifDate" runat="server" CssClass="designFileInfo"></asp:Label></td>
                                        </tr>
                                    </table>
                                </td>
                                <td align="right" valign="top">
                                     <div style="clear:both;margin-top:10px;width:100%;text-align:right">
                                        <asp:Button ID="btnDownload" runat="server" Text="Download" />
                                        <asp:Button ID="btnSave" runat="server" Text="Save"  />
                                        <asp:Button ID="btnDelete" runat="server" Text="Delete" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            
            
 
            <input type="hidden" runat="server" id="hiddenField" />
            
			</div>
    </asp:Content>